UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

When updates are applied to PostgreSQL software, any software components that have been replaced or made unnecessary must be removed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-214084 PGS9-00-004300 SV-214084r508027_rule Medium
Description
Previous versions of PostgreSQL components that are not removed from the information system after updates have been installed may be exploited by adversaries. Some PostgreSQL installation tools may remove older versions of software automatically from the information system. In other cases, manual review and removal will be required. In planning installations and upgrades, organizations must include steps (automated, manual, or both) to identify and remove the outdated modules. A transition period may be necessary when both the old and the new software are required. This should be taken into account in the planning.
STIG Date
PostgreSQL 9.x Security Technical Implementation Guide 2022-06-13

Details

Check Text ( C-15300r360883_chk )
To check software installed by packages, as the system administrator, run the following command:

# RHEL/CENT Systems
$ sudo rpm -qa | grep postgres

If multiple versions of postgres are installed but are unused, this is a finding.
Fix Text (F-15298r360884_fix)
Use package managers (RPM or apt-get) for installing PostgreSQL. Unused software is removed when updated.